package com.xce.business.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName OrderTblFeign
 * @Description TODO
 * @Author lld
 * @Date 2025/7/10 2:54
 * @Version 1.0
 */
@FeignClient(value = "seata-order")
public interface OrderTblFeign {

    @GetMapping("/create")
    String create(@RequestParam("userId") String userId,
                         @RequestParam("commodityCode") String commodityCode,
                         @RequestParam("count") Integer count);
}
